home *** CD-ROM | disk | FTP | other *** search
- # CKIKER.LMK, Version 5A(162)
- #
- # This test version of C Kermit uses CKUXLA.C as the translation module.
- # This isn't quite correct, but will do for testing purposes. You will
- # also need to copy CKUXLA.H onto CKIXLA.H to build from source.
- #
- # This is a makefile for C Kermit using SAS/C for AmigaDOS V5.10. The lint
- # line is for Gimpel Lint V3.03 assuming some kind of standard setup.
- #
- # -cw turns off warnings about int functions that don't return a value.
- # -cs makes one copy of identical strings
- # -cu makes char declarations unsigned chars.
- #
- # -b0 makes us use LARGE data model (there is too much for small model)
- #
- # -O invokes the global optimizer
- #
- # The optimization is set to so, which turns on full optimization.
- #
- # As of 5A(157), the data had finally become too big for the small
- # data model, so we are forced to large.
- #
-
- CFLAGS = -DAMIGA -cwsu -b0 -O
- LFLAGS =
-
- #
- # Note the ckuxla.c in the lists belw. I have not yet written an
- # Amiga-specific version of ckuxla.c. Also, copy ckuxla.h onto a
- # new file, ckixla.h.
- #
-
- OBJS = ckcmai.o ckucmd.o ckuusr.o ckuus2.o ckuus3.o ckuus4.o ckuus5.o \
- ckuusx.o ckuusy.o \
- ckcpro.o ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o ckicon.o \
- ckitio.o ckifio.o ckistu.o ckiutl.o
-
- SRCS = ckcmai.c ckucmd.c ckuusr.c ckuus2.c ckuus3.c ckuus4.c ckuus5.c \
- ckuusx.c ckuusy.c \
- ckcpro.c ckcfns.c ckcfn2.c ckcfn3.c ckuxla.c ckicon.c \
- ckitio.c ckifio.c ckistu.c ckiutl.c mktime.c dos_packet.c
-
- #
- # These are prototype files. You can generate them by saying "make ckipro.h"
- #
-
- PROS = ckcmai.pro ckucmd.pro ckuusr.pro ckuus2.pro ckuus3.pro ckuus4.pro \
- ckuus5.pro ckcpro.pro ckcfns.pro ckcfn2.pro ckcfn3.pro \
- ckuxla.pro ckicon.pro ckitio.pro ckifio.pro ckistu.pro \
- ckiutl.pro
- #
- # SAS/C rule for generating a prototype file from a C source file.
- #
-
- .c.pro:
- lc $(CFLAGS) -pr $*.c
-
-
- kermit: $(OBJS)
- blink <WITH <
- $(LFLAGS)
- lib:c.o $(OBJS)
- lib lib:lcnb.lib lib:amiga.lib
- to kermit
- verbose
- map kermit.map fhlsx
- <<
-
- ckcpro: ckcpro.w wart
- wart ckcpro.w ckcpro.c
- lc $(CFLAGS) -o ckcpro.o ckcpro
-
- wart: ckwart.o
- blink lib:c.o ckwart.o lib lib:lc.lib lib:amiga.lib to wart
-
- lint: $(SRCS)
- lint -DAMIGA std.lnt $(SRCS)
-
- ckipro.h: $(PROS)
- join $(PROS) as ckipro.h
-